<template>
    <div class="study-plan">
        <van-nav-bar title="学习计划" placeholder fixed left-arrow  @click-left="back" />
        <div class="study-plan__content">
            <ImgCard @clickItem="clickItem" v-for="i in 10 " :key="i"></ImgCard>
        </div>
    </div>
</template>
<script name="StudyPlan" setup>
import ImgCard from "./components/ImgCard.vue"
import { useRouter } from "vue-router";
const router = useRouter();
const back = () => {
  window.history.back();
};
const clickItem = () => {
    router.push({
      path: "/study-detail",
    });
}
</script>
<style lang="scss" scoped>
.study-plan{
    &__content{
        padding: 12px 16px;
    }
}
</style>